package CreationModel.AbstractFactoryModel;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-11-23 11:34:00
 */
public class AbstractFacotryTest {


    public static void main(String[] args) {
       // IFactory factory = new AccessFactory();
        IFactory factory = new SqlFactory();
        IUser user = factory.createUser();
        user.insert();
        user.getUser();
    }
}
